package com.zwq.service;

import com.zwq.pojo.dto.MachineDto;
import com.zwq.pojo.dto.MachineStatsDto;
import com.zwq.pojo.request.user.machine.MachineRequest;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface MachineService {
    MachineStatsDto getStatistics(Map<String, String> filters);
    List<MachineDto> getMachineList(Map<String, String> filters);
    byte[] exportStatistics(Map<String, String> filters);
    List<MachineDto> predictMachineStatus();

    MachineDto addMachine(MachineRequest request);
    MachineDto updateMachine(MachineRequest request);
    void deleteMachine(Long id);
}